/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bmf.rest;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author Tony_
 */
@XmlRootElement
@XmlType(propOrder = { "groups", "period","lifetime","sensorType"})
public class Request {
   private String groups;
   private int period;
   private int lifetime;
   private int sensorType;
public Request(){
    
}
    public Request(String groups, int period, int lifetime, int sensorType) {
        this.groups = groups;
        this.period = period;
        this.lifetime = lifetime;
        this.sensorType = sensorType;
    }

    public String getGroups() {
        return groups;
    }

    public void setGroups(String groups) {
        this.groups = groups;
    }

    public int getPeriod() {
        return period;
    }

    public void setPeriod(int period) {
        this.period = period;
    }

    public int getLifetime() {
        return lifetime;
    }

    public void setLifetime(int lifetime) {
        this.lifetime = lifetime;
    }

    public int getSensorType() {
        return sensorType;
    }

    public void setSensorType(int sensorType) {
        this.sensorType = sensorType;
    }
   
}
